package io.kiki.task.common.core.model;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class HttpResponse extends Result<Object> {

    private long requestId;

    public HttpResponse(int status, String message, Object data, long requestId) {
        super(status, message, data);
        this.requestId = requestId;
    }

    public HttpResponse() {
    }

    public HttpResponse(Object data, long requestId) {
        super(data);
        this.requestId = requestId;
    }
}
